<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">
	<span class="color_red">*</span> 在孵企业情况汇总表
</div>
<table  id="tblMileStones" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead >
		<tr style="organization_finances/financeborder:1px solid #B7D1E6">
			<th class="TblHead" align="center"  width="5%">选择</th>
			<th class="TblHead" align="center"  width="5%">序号</th>
			<th class="TblHead" align="center"  width="9%">企业名称</th>
			<th class="TblHead" align="center"  width="9%">注册时间</th> 
			<th class="TblHead" align="center"  width="9%">入驻时间</th> 
			<th class="TblHead" align="center"  width="9%">注册资金（万元）</th>
			<th class="TblHead" align="center"  width="9%">技术领域</th>
			<th class="TblHead" align="center" width="9%">孵化场地（平方米）</th>
			<th class="TblHead" align="center" width="9%">去年营业收入（万元）</th>
			<th class="TblHead" align="center"  width="9%">去年年末职工数</th>
			<th class="TblHead" align="center" width="9%">大专以上学历人数</th>
			<th class="TblHead" align="center" width="9%">已申请知识产权数量</th>					
		</tr>
	</thead>
	<tbody id="tab">
		<tr style="display:none">
			<td align="center">
				<input type="radio" class="radiobutton" name="selMileStones" >
			</td>
			<td align="center">
				<span name="milestones|milestone[0]@seq_no" >[index]</span> 
			</td>
			<td align="center" valign="top">
				<input id="milestone_content1_[0][0]" name="milestones|milestone[0][0]|content1" label="企业名称" value="" class="required input_text "  maxlength="100" style="width:80%" class="required" />
			</td>
			
			<td align="center">
				<input id="milestone_reg_date_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|reg_date" label="注册时间" value=""  class="required date beforeToday" />
			</td>
			
			<td align="center">
				<input id="milestone_into_date_[0][0]" style="width:80%;" name="milestones|milestone[0]|into_date" label="入驻时间" value=""  class="required date beforeToday" />
			</td>
		
			<td align="center">
				<input id="milestone_reg_fund_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|reg_fund" label="注册资金" value=""  class="required input_text "/>
			</td>
			
			<td align="center">
				<input id="milestone_tec_field_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|tec_field" label="技术领域" value=""  class="required input_text "  maxlength="50" style="width:80%" />
			</td>
			
			<td align="center">
				<input id="milestone_field_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|field" label="孵化场地" value=""  class="required input_text "  maxlength="50" style="width:80%" />
			</td>
			
			<td align="center">
				<input id="milestone_income_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|income" label="去年营业收入" value=""  class="required input_text "  maxlength="50" style="width:80%" />
			</td>
			
			<td align="center">
				<input id="milestone_worker_count_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|worker_count" label="去年年末职工数" value=""  class="required input_text "  maxlength="50" style="width:80%" />
			</td>
			
			<td align="center">
				<input id="milestone_high_edu_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|high_edu" label="大专以上学历人数" value=""  class="required input_text "  maxlength="50" style="width:80%" />
			</td>
			
			<td align="center">
				<input id="milestone_kno_count_[0][0]" style="width:80%;" name="milestones|milestone[0][0]|high_edu" label="已申请知识产权数量" value=""  class="required input_text "  maxlength="50" style="width:80%" />
			</td>
		</tr>
		
		<c:set value="0" var="index" scope="page"/>
		<x:forEach select="$xmlData/data/milestones/milestone" var="milestone">
		<c:choose>
			<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
			<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
		</c:choose>
		<tr >
			<td align="center">
				<input type="radio" class="radiobutton" name="selMileStones" >
			</td>
			<td align="center">
				<span name="milestones/milestone[${flag}${index}]@seq_no" ><x:out select="$milestone/@seq_no"/></span> 
			</td>
			<td align="center" valign="top">
				<c:set var="content1" scope="page">
						<x:out select="$milestone/content1" />
				</c:set>
				<input id="milestone_content1_[${flag}${index}]" value="${content1}" label="企业名称" name="milestones/milestone[${flag}${index}]/content1" maxlength="100" class="required"  style="width:80%"  /> 
			</td>
			
			<td align="center">
					<c:set var="reg_date" scope="page">
						<x:out select="$milestone/reg_date" />
					</c:set>
					<input id="milestone_reg_date_[${flag}${index}]"  value="${reg_date}" label="发表时间" name="milestones/milestone[${flag}${index}]/reg_date" style="width:60%;text-align:center" class="required date beforeToday"/>
			</td>
			
			<td align="center">
					<c:set var="into_date" scope="page">
						<x:out select="$milestone/into_date" />
					</c:set>
					<input id="milestone_into_date_[${flag}${index}]"  value="${into_date}" label="发表时间" name="milestones/milestone[${flag}${index}]/into_date" style="width:60%;text-align:center" class="required date beforeToday"/>
			</td>
			
			<td align="center">
					<c:set var="reg_fund" scope="page">
						<x:out select="$milestone/reg_fund" />
					</c:set>
					<input id="milestone_reg_fund_[${flag}${index}]"  value="${reg_fund}" label="发表时间" name="milestones/milestone[${flag}${index}]/reg_fund" style="width:60%;text-align:center" class="required date beforeToday"/>
			</td>
			
			<td align="center">
					<c:set var="tec_field" scope="page">
						<x:out select="$milestone/tec_field" />
					</c:set>
					<input id="milestone_tec_field_[${flag}${index}]"  value="${tec_field}" label="发表时间" name="milestones/milestone[${flag}${index}]/tec_field" style="width:60%;text-align:center" class="required date beforeToday"/>
			</td>
			
			<td align="center">
					<c:set var="field" scope="page">
						<x:out select="$milestone/field" />
					</c:set>
					<input id="milestone_field_[${flag}${index}]"  value="${field}" label="发表时间" name="milestones/milestone[${flag}${index}]/field" style="width:60%;text-align:center" class="required date beforeToday"/>
			</td>
			
			<td align="center">
					<c:set var="field" scope="page">
						<x:out select="$milestone/income" />
					</c:set>
					<input id="milestone_income_[${flag}${index}]"  value="${field}" label="发表时间" name="milestones/milestone[${flag}${index}]/income" style="width:60%;text-align:center" class="required date beforeToday"/>
			</td>
		</tr>
		<c:set value="${index+1}" var="index" scope="page"/>
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("tblMileStones");
		</script>
	</tbody>
</table>
<br/>

<table width="98%" align="center">
	<tr >
	<td>
	<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones',99,'科技企业孵化器现有工作人员一览表最多只能填写99条')){addNewRow('tblMileStones');showDateTag('tblMileStones');}try{top.resizeFrame();}catch(e){};">
	<!--
	<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones',5,'项目进度信息最多只能填写5条')){addNewRow('tblMileStones');}showDateTag('tblMileStones');try{top.resizeFrame();}catch(e){};">
    -->
	<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones','selMileStones')">
	<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones','selMileStones')">
	<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones','科技企业孵化器现有工作人员一览表')">
	</td>
	</tr>
</table>
<x:out select="$xmlData/data/milestones/milestone/reg_date" />
